//
//  Rectangle.h
//  Racing
//
//  Created by vy phan on 4/12/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Shape.h"

@interface Rectangle:Shape {
	int height;
	int width;
}

/* class method to construct a rectangle */
+ (id)x:(int)xValue y:(int)yValue width:(int)aWidth height:(int)aHeight;

/* get the height of the rectangle */
- (int)height;

/* get the width of the rectangle */
- (int)width;

/* set the height of the rectangle */
- (int)height:(int)aNumber;

/* set the width of the rectangle */
- (int)width:(int)aNumber;

/* point in rectangle or not */
- (BOOL)contains:(int)xValue Y:(int)yValue;

/* draw the rectangle */
//- (void)draw;

@end